package com.springtest.demo.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.springtest.demo.model.Student;


public interface StudentDao {
	public int saveStu(Student stu );
	
	public Student deleteStu(int id );
	
	public Student updateStu(Student stu );
	
	public List<Student> listStuByParam(String param,String value);
	
	public Student listStuById(int id);
	
	public List<Student> listStu();
}
